﻿<%@ Page Title="营养知识介绍" Language="C#" MasterPageFile="~/Site.Master"  AutoEventWireup="true"
    ValidateRequest="false" CodeBehind="Nutrientsintro.aspx.cs" Inherits="StoragePeriod.Web.Nutritionknowledge.Nutrientsintro" %>

<asp:Content ID="ContentX" ContentPlaceHolderID="ContentScriptManager" runat="server"></asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript" src="../Scripts/jquery-1.4.1.min.js"></script>
    <script type="text/javascript" src="../js_bianjiqi/xheditor-1.1.14-zh-cn.min.js"></script>

    <style type="text/css">
        .intro_tab01
        {
            width: 762px;
            height: auto;
            margin: 0px auto;
            padding: 0px;
        }
        .intro_tab01 .tab01_head
        {
            width: 762px;
            height: 30px;
            margin: 0px auto;
            padding: 0px;
            clear: both;
        }
        .intro_tab01 .tab01_head .title
        {
            width: 762px;
            height: 30px;
            line-height: 30px;
            text-align: center;
            clear: both;
            font-size: 14px;
            font-weight: bold;
            color: #FFFFFF;
            background-color: #26A1E4;
        }
        .intro_tab01 .tab01_head .E_title
        {
            width: 552px;
            float: left;
            height: 30px;
            line-height: 30px;
            float: left;
            text-align: left;
            margin: 0px;
            padding: 0px 0px 0px 10px;
        }
        .intro_tab01 .tab01_head .E_pardr
        {
            width: 200px;
            float: left;
            height: 30px;
            line-height: 30px;
            text-align: center;
            vertical-align: middle;
            float: right;
        }
        
        .intro_tab01 .tab01_body
        {
            width: 742px;
            height: 381px;
            margin: 0px auto 10px;
            padding: 10px;
            clear: both;
            text-align: left;
            overflow: auto;
            border-bottom: 4px solid #26A1E4;
        }
        .intro_tab01 .tab01_foot
        {
            width: 762px;
            height: 30px;
            margin: 0px auto;
            padding: 0px;
            clear: both;
            vertical-align: middle;
        }
        .Red{color:Red;}
    </style>

    <script src="/Scripts/artDialog/artDialog.source.js?skin=default" type="text/javascript"></script>
    <script src="/Scripts/artDialog/plugins/iframeTools.source.js" type="text/javascript"></script>
    <script type="text/javascript">
        //编辑操作
        function EditOption(EditType) {
            var HidID = $("#MainContent_HidID").val();
            art.dialog.open('/Nutritionknowledge/NutrientContent/NutrientsintroEdit.aspx?EditID=' + HidID + "&EditType=" + EditType + "&Rid=" + Math.random(), { title: '营养知识详细' });
        }

        function DeleOption() {
            if (confirm("您确定要删除？")) {
                return true;
            }
            return false;
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainLeft" runat="server">
            <h2>
                <asp:Label ID="Left_Title" runat="server" Text="营养知识介绍"></asp:Label></h2>
            <div class="Left_Main">
                <h3>
                    营养知识列表</h3>
                <div class="Left_Rawlist" style="height: 360px;">
                    <asp:TreeView ShowLines="True" ID="NutrientsTree" Style="max-height: 320px; text-align: left;"
                        runat="server" OnSelectedNodeChanged="SysTree_SelectedNodeChanged">
                        <SelectedNodeStyle Font-Bold="True" BackColor="#0072BB" ForeColor="#ffffff" />
                    </asp:TreeView>
                </div>
                <div class="Left_Search" style="height: 60px;">
                    <ul>
                        <li><asp:TextBox style="width: 106px;" ID="Txt_Search" runat="server"></asp:TextBox></li>
                        <li><asp:Button ID="btn_search" class="btn_search" runat="server" Text="" onclick="btn_search_Click" /></li>
                    </ul>
                    <div class="clearboth">
                    </div>
                    <ul style="margin-top:6px;">
                        <li style="width:70px"><input type="button" value="添 加" onclick="EditOption('Add')" class="rbtn_02" /></li>
                        <li><asp:Button ID="btn_Del" runat="server" Text="删 除" OnClientClick="return DeleOption()" OnClick="btn_Del_Click"  class="rbtn_02" /></li>
                    </ul>
                    <div class="clearboth">
                    </div>
                </div>
            </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <asp:HiddenField ID="HidID" runat="server" Value="" />
    <div class="Right_title">
        <ul>
        </ul>
    </div>
    <div class="Right_center">
        <div id="readstate" class="intro_tab01">
            <div class="tab01_head"><div class="title" id="IntroTitle" runat="server"></div></div>
            <div class="tab01_body" id="IntroContent" runat="server"></div>
            <div class="tab01_foot">
                <input type="button" class="rbtn_01" value=" 编 辑 " onclick="EditOption('Edit')" />
            </div>
        </div>
    </div>
    <div class="Right_foot">
        <img src="../images/images_29.jpg" width="764" height="8" />
    </div>
</asp:Content>
